First version of simple editor