Moved voting to seperate file and finished proper voting functionality on questions