add addShape in cloudVisualizer and a lot of const function parameter modification