Refactor the Poll App views to use generic views.