reorganize the directory structure.