Fix #10 Improve the way to config mode of Hazelcast