Add default code to server demo
Improved style