moved template files to ./templates, module files to MB2EML
reorganized dirs; added xml validation, xsd validation
put code into Perl package