Move MongoDB to environment