change directory hierarchy for Structural patterns