success! parsing commands and sending them to the server