moving templating to separate project