move NodeFinder and related classes to src from test/ks.