added inventory and item classes