Main app created.