WIP - Add versioning on both Android and iOS. Asynchronous delete when updating version.

Refactor mainly on Android.
Please handle error count!=1 first and return an error, then the same code