Removing unnecessary Junk, added Error Handling function, merged the email class into 1 file