Adding in voting functionality, complete with ranking algorithm