move some view to class based views