make job class dynamic

makes it easier to substitute Queue and Job classes