Refactored into multiple files. Colorbook reader complete.