change routes and model layer with creation of JobRepository