add addPackage function in PhysicsList class