rename shell.js to core.js