coding on classes item and inventory

some coding: class inventory and class item