Geoip

Here, finally, is the local geoip code.  It seems to work great!