Split generation to a separate method (instead of constructor)
Support the `files` key
Fix up a janky clusterfuck for exports
Fix up all sorts of busted types and bindingTypes