Initial implementation of the job manager.