Add class based generic view