Refactor editor.js for internal modularity
Add specific cursor movements to editor transformations