Service has now been implemented as an extension of ServiceInstance, which contains ServiceComponents.
ServicePackages now play a smaller role as we only need the reference to the instance id.
DeviceIntegrity has been abstracted into a superclass, Integrity.