define a calllback value on take_shelter()
let Pig and peerInfo  implement Serializable, so they can be passed through RMI