Create rating.py