Finalized MainApp