Moves MongoDB to its own module.