added logging back in
Moved ios code to ios directory