BROKEN CODE. In the middle of refactoring the controller and how jobs are handled.