Demo of using flask as webservice