create inventoryController