Cleaned up the app delegate moving data providing methods to class DataProvider.
Added DataProvider class for all the methods dealing with getting data from server.