Removing Device Registration from flow. Few files retained until final clarity.
Modified the MiddlerwareService to extend CacheInterface.