Refactor the project tree.