Create main app.