perf threads: Move threads to its own files