Extract `converter.js` into a separate module

Thought I sneak this in before 1.0.0 :)))))~~.
Fixed.