The existing views are changed into the class based view.