move ratings to own model