Deas template engine for Nm templates