Creating CRUD of class rating