added example server code
Commented the example server a bit better