moving to clase-based views