Added documentation for templateEngine