refix DemoApp Class to Singleton