Use mongodb as storage.