Added a favorites object for favoriting courses, added api calls to CoursesAPI