create classes for Candidate, Voter, Nominator, Election and add some methods in DAOImpl