Move App init to app/index