Implemented CLLocationFunctionality with custom object