Moving all db related logic to be understand JobItem