Added untested ScheduleDatabase class