Initial conversion of entirety of library.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>