Integrate api server connection test into module and remove the extra admin/ext/.. file
Add warning if curl is not enabled in PHP
move debug email code to class function