Working on generalizing model fitting
Add some tests
Refactoring schema to define order of factors
Still refactoring schema
Fixing tests for refactored schema
Fix some tests
Fix some tests
Fix a test
Fix test
Fix all the tests to work with new schema