added candidate and job controller for cleaner code