Added node struct for building directories.