WIP: refactor for restbase split

- Create a REST table storage interface in index.js, which only exposes the
  cassandra backend storage