run the daemon, run main to make the flask server!