API Interface

Added return values and getAll function for Courses.