Big refactor of exporting process, including 6 basic materials, still to be tested.