initial commit of working gossip protocol