Export functionality

I'm starting to work on making exporting happen. Not at all ready to merge - I'm just curious what you think.
Yeahhhhh.
I thought about putting these in a String[] "other arguments" slot but decided this was better.