moved iOS core over from our internal iOS app project