CourseDetails Class Added

Details class to manipulate the database