pathfind: make it a singleton object

Signed-off-by: mkhropov <mkhropov@gmail.com>