Reorganized templates

Made it so that the divs are inside the child templates so it's easier to change things.