added an application class to init global state like parse, and all the other singleton classes