Preliminary commit

Working barebones test cases for open loop and SMIB.
Still lots of holes (e.g. saliency not supported) and manual interfacing
required.