Implemented Cursor, added editor class