Renamed Database#calculatePath to #findPath. Sounds more reasonable.
First use of promises.