added WebServer
functional tests for web mode
added support for web mode

HG-7