making examples work again
fixing examlpes and adapting to TomP2P5