Added file store backend and DB interface

- work towards #3