Add vote related functions

Model: vote_model.php
Controller: test.php (function: add_good_bad)