Implemented course handling with restful api