Refactored networking into API class. Added updating data when returning from background.