adding JobModel
id, state, prioirty, and time_* columns are now part of a base function
cleanup