Cleanup ll bindings
Add get_last_error()
Add struct Cursor