Adding AppController as the application class
Adding Internet permission