Class CreateCoursePartFunction