Add base code for job.
Add base code for Job, JobResult and WorkerThread.