Added and modified common modules for Visualizer