Fix send and recv message.
Move all commands in separate module comply the module names.