Adding rudimentary templating engine