update setup.py for new structure, move some of run in process runner into new function and rename ref_q to job_q