mv index.js -> lib/converter.js
add test code js