moving over entirely to class based views and migrating to the jinja2 template engine