implement function to retrieve classes information, prepare for
implementation of timetable