Templating: First go at templating works