Server to accept simple requests
Updated server code