Added MongoDB support.

I've opened issue #81 related to this PR
Is this something you want to do in this PR?