organizing directory hierarchy