convert b2BodyDef and b2FixtureDef to class