Add callback framework using flat buffers