Create core.lua