refactoring domain objects and creating super class DomO