moves warmup initialization to app.main