Create core.rb