first steps towards a generic transformation pipeline for krun

**please review**
Why?