refactored the server to use a storage adapter
added constructors to differentiate allow selection of table types
started making the tests pass with the DETS imple