Fix the inaccurate ops/sec

This patch actually does two things

* fix the bug of inaccurate ops/sec
* Make some handy changes on the code style
Add stderr/stdout to differentiate different types of messages
Update README.md
Minor clean up on code style
[Code Refactor] Separate logic for making opsChan from main()
make retryOnSocketFailure private