Created main app.