added addMaterial to interface of Warehouse