Restructure directory tree.