Add generator.go. Still figuring things out.