new AwaitIO(). Keep it in its own file, app.ts: action files import the instance for their typed io, and the server file starts it with listen().
app.ts
Options
The app checks the options when it is created and throws with a message naming the one that is wrong, so a typo stops the server before anyone logs in.