Pass templating engine to CommonController