Added job list querying to the db
Adds application for jobs