[FE][REFACTOR] directory refactoring