Refactored example_webserver to use consoleserver module