setup mongo repository