Updated README.md and checkConnection method.