added Unpacker and synchronization to Caibuf