add serverside listening
added examples