sticking to python; refactoring to use twisted instead of multiprocessing.Pool