Separate GPS code into 'gps' package