Now physics is added to objects only when they are added to a state class. It's called addPhysics function.