Refactored code. Optimized specifically for election proposals.
Merge branch 'master' into gh-pages
Merge pull request #4 from ajatix/master

Updated code