- add ffi dep
- actually do some reading of binary data
added API files, tidy up git ignores