move treebank transformations into new  module