change directory structure and import relationship