Finalizing the code for the JobTracker