Add DomainObject pattern class. It is not completed