Added Scheduler for easier programming.