Check for job in main loop
Re-organize job class