Sync library managing models to be in sync between devices and backends