Introduce RatingsRepository to proxy data access to ActiveRecord