Move exception/null calls under ffi
Add readme