[iOS] Solved compile errors.
[iOS] Started datamanager re-work.
Revert "[iOS] Started datamanager re-work."

This reverts commit 1e5d04c9cf5bff273dc3630cf9dfddd7a57810f5.