Added layout and section support

Fixed bug where only a single template was being compiled properly
Added default template namespaces