WIP on extract(), formerly scan(); reorganization
reorganize headers again
WIP back and analyse now compiling