Created votes controller and voting mechanism