Unified the core into a single compilation unit.

Probably a dumb idea.
Added reflection for integers.