Integrated local templating engine. Fixes #34