Moves all search related implementations to the search sub-package.