move lib/fondue.js to index.js
handle shebangs