Refactor all core and events subfolders' components to use the new UMD process.