adds dir structure