Refactor jobtool as a job definition base.