adds directory structure