Add addPointCommand, addSegmentCommand, MacroCommand