created rating dao and manager