Integrate scheduler into GUI.

Control the scheduler from the web page.
Merge pull request #45 from juanluisrp/scheduler

Integrate scheduler into GUI.