add domain attribute to domain and dependencies to it from service and aggregate