added server code
code to listen to server added
index page addded