Added npm ignore and index.js for packaging