Add example code and npm ignore. Update package.json