Added SMS gateway input, cleaned up

Added user input prompt to obtain SMS gateway. Added comments to improve
readability.