added new_share_type share wrapper and finished new p2p code