added classes for DataManager, added getting timetable from db