refactoring import some stuff in WarehouseBundle