Beginning of reflection config and some cleanup.
Some really cool refactoring, using the reflection classes. Much easier to make models now.
Found small bug when field type is int and, null is allowed and default is empty.