refactoring editor folder's structure