Move core files to system/core