updated main to use _gen.go imports for typewriters, build in a temp
folder, and clean up.
uses panic so it cleans up properly