Domain model infrastructure based on event sourcing for cross platform development on iOS, Android, WinRT and Windows