Major code cleanup - remove all programmatic code generation

Previously we created all the code generation programmatically. It's
not clear if that is any better than just doing string generation.

We are going to use a string generation approach this time.

See #59.