improve test coverage
move export to files where definitions are made.
imporve Lineage
fix syntax errors in comprehension.