Cart and CartItem processing as objects