fix last commit
parallelize refactor.main using multiprocessing.Pool