first steps towards a generic transformation pipeline for krun

**please review**
no particular reason, since this is all going to be deleted in the imminent future. I just am holding off on deleting code from Iasi entirely until we finish the modularization preparations, which this is a part of.