adding initial package.json and core.js file.