First draft of mongo post complete
Refactors