Moved internal utilities into publicly available object.

Updated README with code sample.