simplify logic
Improve docs
use index.js
improve package.json
0.4.0