Converted to ARC
Removed unnecessary methods
Refactored reachability check routine