Scheduler is finished. Work on unit tests.