Refactor project directory.