Changed network communication pattern from delegate methods to block methods