Create RatingDB.php

Vote processing class