Added a peer_session class