formatting
fixed dexing bug and restructured the reflection stuff