restructured project for scalability and maintainability