Migration of Ball RigidBodies to classes