Adding gps service

java file for gpsservice class