modified the sendSMS function to a structure instead and just one config file