Plugin API

* Currently only undo-redo methods implemented