work-in-progress converting to StormRegistry model for storing packages state