set mongo infrastructure