added models for jobs and jobgroups