Add gsm_send_sms function, clean up code
Restore main file to previous state