removed some lines, cleaned up generated model, started work on bake controller; add test for hasAnyFields()