Massive refactor of how the source is laid out.
Renamed gear auxlib to gearkit.