undo redo working for class move

Undo redo is completely working for class move