Restructured the workflow for setup.py so that jobs are split into group of jobs that uses the same DBs instead of split into group of jobs that users the same query blocks in order to mimize the squid cache miss.