some basic functions to test compilation framework.  A 'bsm' class.