Created initializers for ScheduleManager, Schedule, and Task objects, and defined their functions.