Clean up Pig class

Nest peerInfo class into pig class