revert monitor
revert index.js
refractor Monitor. Rename negotiator client to master client. Add CommandQueue object to replace misuse of multi