Added Direction field to PeerObject.java