add editor mode - dirty merge with fs-manager TODO refactor hole project