Added voting functionality. Few cosmetic changes.