Refactored mongo components.
Refactored configuration component.