Fixes warnings
Implements the Rating Model