Finished main app.