- Replace free functions with IncludeProcessor class - Simplify IncludeResolver interface: { readFile, parseJson } - Break down loadFile into focused private methods - Use reduce() for array include merging - Cleaner separation of concerns