Adds a directory structure