Picocontainer example added and improve the client waituntil  function