iOS files recieved from Marat

Still need to change the to fix the various problems in iOS app