refactor transfos stuff out of grounder to the new transformations ns; make html and text to depend on transfo rather than on actions