"""Task 6: Complex Multi-file Refactoring"""