Refactor the existing code structure to improve its organization and readability without altering the original text content. Focus on enhancing the code's modularity, maintainability, and efficiency. Ensure that the refactored code adheres to best practices and coding standards, optimizing for performance and scalability. The goal is to improve the underlying structure while preserving the original functionality and textual descriptions.