Refactored code unity iOS and updated test cases & readme