Add basic Flask web API
Make it easier to kill the daemon