Initialize app.