Changed back to connect instead of createConnections
Merge pull request #78 from xue0chao/master

Changed back to connect instead of createConnections