Refactored the directory structure and how jobs are found.