Added framework design for top down traversal
Fixed merge conflicts