Visitor Pattern algorithm

Currently this searches all packages, including the samples, so there's
some junk in the results.