Added the app delegate to the Main.m file