hooking up refactoring of editor to server