Refactoring to use asynchronous NSURLConnections