adding ability to specify the templating engine, adding path parameters to the template context