Big refactoring, separated lower level classes per resource (mongodb, http).