Adds data directory struct and data directory mappings