Add docstrings to the module exceptions
Add docstrings to the pkg-db module
Add docstrings to the Pkg type