Replace Flask with [FastAPI](https://fastapi.tiangolo.com). Figure out deployment (probably Uvicorn) vs development. Revisit whether we can (or want) to have multiple workers. See [f1-tcs](https://github.com/uwmro/f1-tcs) for examples.