Populate mongoDb server code