adds lib/index.js and test/e2e.js to expose/test all methods