Small fix
Fix - $modx->sendmail()
Refactor - Installer