Refactor naming and repository structure exhaustively while preserving behavior and external contracts.