Add BodyFactory class