Implemented YambaLib, C version