Added rating related data access and model classes