Added addToCart and removeFromCart methods (closes #260)