Add template engine