Initialized the core app.