move lib/index.js to root