add gps class to use on background thread