Revised the primary key for rating back to ratings.id, uncommented out ratings.id and let sqlalchemy assign the id
Got the HTML/judgement.py talking and putting stuff on the interwebs