Implemented more commands from REST API JSONWireProtocol
Refactor COMMAND_EXECUTOR.