refactor mongo server to inherit original peer server
revert to peers master branch