The original sources, while well documented, had files with over 2.5K LoC. Separating the logic in different modules add clarity making the code easier to work with.