added undo redo support for objects

undo creation and deletion implemented