moved entity and value types from the domain to the base package