create .gitignore
create example.js
add support to be used as connect middleware