Rating service implemented, database schema updated