Update and rename core_class.lua to core.lua