Rewrite AppDelegate in Swift