Use resource manager for template engine