Added index.js to expose Beacon