Added MongoDB mode
Merge pull request #59 from r-darwish/mongo-inf

Added MongoDB mode