separate api into application and editor
improve window manager
split buffers