CourseRepository data structure