Restructure StoreApi setup to use a store backend.