changes to map directions algorithms

computing directions is more pliable now, should be able to pull in
addresses from memory soon.