Added scheduler.
Merge pull request #1 from heinrichquirit/master

Added scheduler.