Reference implementation of the CASA Engine