refactored currency exchange investment analysis into a class

refactored mailer