Updates for templates and attachments. Able to override templateswith templates in modules. Attachments working.