Add a very basic Scheduler class.
Merge with master.