extracted the retreival of deviceId to StoreUtils
added 'hasUpgrades' to StoreInfo
added some tests for modelV3