Implemented basic functionality of the Inventory POJO