Tidy library interface via FFI

WWW: https://github.com/libc/tidy_ffi
