ios reports code

starting to merge iOS reports code.
Again, shouldn't have been checked in.