packagemanager implementation