a minimal working momentdb