Joseph 11/28 Added all the geofence functionality