Created method to retrieve a complete list of packages.