added Core AppDelegate