made GpsHAndle and UiHandle objects to manage GPS and UI activities