more ffi functions.
ffi sample added.
Compilation doc.
Compilation doc.