Implemented the basis for the course-order functionality