Moved structure materials to the Structure class. Much cleaner.