Added the changes to the registry artifact module. Also fixed approach of getting governance registry from normal registry. Also fixed a typo bug in attachLifecycle.