rename core to main