StringTemplate
some functional utilities
flatten the args
testing the templates