Initial mongodb connection