Manage domain logic and data persistence separately and intelligently.