Change binding types a bit, remove sync_only, make them IN, OUT, BIDIRECTIONAL
Fix makefile
Fix some stuff