Removed inline declaims. Removed deprecated CFFI struct referencing. Fixed string-message handling