cleab up and moved OsmNode to its own class
changed getDistance to Spherical Law of Cosines