Add templating engine and router request handler