Added vote functionality and cleaned headers