This commit refactors the votes controller.
Refactored the router to simplify the votes routing.
Refactored upvote test.