Implemented MongoDB database storage