Qthread

Replaced multiprocessing module with qthreads