implementation of Courses database