Few changes to creating ratings

Included warning about how i structured my ratings table in the
database. I need to fix that later.