Added Schedule and SchedulePrefs classes