refactor hello to simple web server