made IPhysics to an interface