Split Smtp class to Mailer and Smtp