First refactor of code content out of template and into 'recipes'