added voter with fully functional OOPs based