Added functions to add items to the inventory