Split into a standalone C library and a standalone Ruby Extension.