Closes #9. Add MongoDB support