little library share an initialized mongo object between requires