improve coupling between spi packages by moving commands under container