changed quit key to ctrl-q. created concept of editor mode via Mode interface and created InsertMode