moved the registry into the lib folder and resources can now access it through the .registry member of the Rig constructor exported by require('rig')