Domain Object and Layered Architecture