Adding a flask version of the service.