Added VisualizationAlgorithm class, which Main implements, and Trace class