refine the gui web server api... workaround for setuptools error on windows