Implemented adding schedules and tasks.
Refactored tasks and schedules so that they inherit from a common class called work item.