v0.0.5 - split the index.js file, fix some bugs, add documentation