added example web server code