Started porting the visualizer from the version 1.0 code