OOIION-1565 Refactor deployment activation logic

fix issues in deployment preload and make all ref designators unique

@jamie-cyber1 please review
@mmeisinger please review