Documentation for packages library.

Adding @brief etc where missing, and editing some of the
existing documentation.