Implement editor (issue #13)