Merge pull request #87 from teebrz/master

First set of new FFI functionality