Add generic views code, update templates, update polls views.