Added a basic CFFI interface
Modify the build system for using the CFFI stuff