Added CoreLocation framework to detect current location