added package.json and plugin implementation: index.js