added tree-prometry script
update
generalized architecture for comparisons
refactored to module