AppDelegate library