refactor the project dir