MainApp cannot be instantiated now