Add datastructure of directory