added infrastructure to get course data