Refactor code for maling function, add namespacing for Mailers, autoloading for Mailers