Form to enter choice, view for vote, code optimization with classes