Server side code

Serve side example from brother Barney