Added functions for the CourseService and CourseClassService along with tests.