Mostly works.

- Generates real class defs
- Unique, presence, and custom constraints work
- More tests
remove comment