cleaned up routes and added voteLookup method