Rename core to code