restructuring the directories