Separation of concerns for constraints and form generation. In-memory sqlite for testing. More unit tests.