Set up all endpoints as class based views