Renamed db module to domain.