First sample of the template definition DSL. refs #418