adds returning of gps state and location manager

-Returns if GPS is enabled in system settings. 
-Returns the location manager.