remove some old comments/code that are no longer relevant
Implement cond evaluation
add get_ref_branch method for Tree for the sake of being comprehensive