Skeleton of CBL2 emulation class
Rudiments of a callback-based system for emulating the CBL2; bug fixes