using groovy templates as templating engine