added insert and delete functionality to store and warehouse