#4 main part of RatingRestService implementation done