Factored searching into its own package.