added mongodb support
Merge pull request #3 from mastak/dev

added mongodb support