add mainsms api and more