Add core_Path when main modules are loaded and export it.