Beginning to work on Scheduler.

Also ran formatter.