Refactored ContextTreeBuilder to visitor pattern