Added fragmented templates

Should make the task of generating templates easier