Moved entity to the domain namespace