Reorganize internal packages into platform/infra/shared layers and update imports, docs, and seed-count tests to match current system configs.