Created the main app.