The package list is generated on each request for a package so there is no longer a need to generate the package list in main or to store these packages in the API object.