Modify directory structure and make according changes.