moved the mongodb configuration to xml.
added standalone mongo client