first steps of refactoring in ASTVisualizerJB