Refactor Job tracking code: introduce a JobType object