     
     var autoUpdate:Bool = false
     
-    var locationManager: CLLocationManager!
+    private var locationManager: CLLocationManager!
     
     var showVerboseMessage = false
     

import UIKit
import CoreLocation


class LocationManager: NSObject,CLLocationManagerDelegate {
    
    var completionHandler:((latitude:Double, longitude:Double, status:String, verboseMessage:String, error:String?)->())?
    
    var locationStatus : NSString = "Calibrating"// to pass in handler
    
    
    var delegate:LocationManagerDelegate? = nil

                        verbose = verboseMessage
                        
                        if ((delegate? != nil) && (delegate?.respondsToSelector(Selector("locationManagerVerboseMessage:")))!){
                            
                            delegate?.locationManagerVerboseMessage!(verbose)
                            
                        }
                    }
                    completionHandler?(latitude: latitude, longitude: longitude, status: locationStatus, verboseMessage:verbose,error: nil)
