Added voting functionality - implemented generic views