Separate text sending into it's own module.
Add index.js to enable usage as module.
Update README with module use info.