Move output from template/output to root of template. Closes #20