move coordinator initialization form init to app.py