Adds a function for getting the package list