refactored routes and votes controller and added create vote form