Added end time to workflow scheduler.
Beef up comments
Added generic scheduler and workflow scheduling functionality.
Add scheduler and workflow schedule functionality