Added a framework of classes and a set of tests.