Add SMTP class and cleanup contact.php