Adding GPSDetector.java