Refactors the CCBReader and adds documentation