Ignore my IDE folder configuration
Update connect method

+ use URL connection string which accepts connection to replicaset
+ simplify code
Merge branch 'release/1.7.4-mongodb-update-1.6.1'