move to class based view for pyramid_ext