removed packagemanager.py in favor of more elegant solution