Refactor code for using class based views
Refactor code for using mixins
Refactor code for using generic class based views