Added ability to add and render templates in tempaltes pool