Extract job_queue operations into JobQueue class