Introduce Curly templates

and removed slim templates.