created warehouse class