Diogo voting

I finished the basic functionality of voting. Ready to merge.