Added actual code
Added example usage
Added index.js entry