added visualizer with basic functionality