Setup MongoDB environment