connecting to LocationManager class