Added core/main.js