change DataManager to Singleton pattern.