Refactor find scripts, move several to liboi.
Update liboi, refactor find scripts.