Add a python http server. And routine for XHR.