Restructure the directories.