Refactoring to enable injecting the templator
Fixing tests & exporting the mailer
Merge pull request #2 from tmont/templates

Refactoring to enable injecting the templator