added shopping cart and inventory class