added first round of api.  Class file and driver for tests