Added new method to get monitor command and create client without
zookeeper.