Formatting
Factor out searching in packages
Add cabal module
Support searching for an identifier only
Robustness checks