added client stubs
added mesh peers logic
added p2p client side logic