mongo schema persistence, refactoring
mongo schema persistence, refactoring