adds readme and index.js. more sensible defaults