Implemented inventory system.