Move addItem method to cart entity