reorganize directory levels