Class created to handle entity inventories.