Move core to the root directory