added core.js and classes.js