Geocraft API work.

Rarities seem to be backwards. Must fix, otherwise working well. Fixed
hook to work properly without Geocraft. API cleaned up and looking much
better.