Fixed broken voting from pages. PEP8 Changes, code/imports reformatting.