added a new IInventory helper class, and a few other things