refactored currency exchange investment analysis into a class

refactored mailer
Merge pull request #62 from bonniecpk/refactor-analysis

refactored currency exchange investment analysis into a class