visualizer added. small changes in template_library