Moved all gps code to gps.lib.