Velocity templating

Apache Velocity is a powerful templating engine which can do things like for loops and string manipulations inside the templates using directives.