more initial work on Database accessors