a demo which use flask for the web scheme