Initializing MongoConnection in constructor to prevent double creation