Added mongo.
Refactored structure.