[transforms] Big refactoring was performed. Now transformations deal with generalized steps instead of simple. This is temporary commit, nothing works yet.