Export functionality

I'm starting to work on making exporting happen. Not at all ready to merge - I'm just curious what you think.
Arch.java:

```java
public enum Arch {
   X86, AMD64
}
```
`private final Arch arch;`