Ported transformation
Adding t4 templates