Added basic support for editor actions in controller
With undo and redo as action examples.