moved AppDelegate.* to Classes