great begging on code gen migration
indentation now much more implicit

Switch rendering is now more generic