Moved FFI definitions to separate module.
Added version() function.
Added cpuid_error wrapper.