Implement first version of a properly featured and unit-tested casa interface.