Adding material exporter
Hello Sandro, my first pull request. Everything I have done works... err... or rather it fails as it was failing before... we have to discuss this tomorrow. However it does not break things more. You can review and pull. Thanks.