mongodb implementation + tests
documentation