Made into require-able module.

Still works as standalone binary script.
Clarified readme a bit.