make mapreduces mongo host and port configurable