Refactores index.js
Bumps version to 0.3.2