Added framework support for adding items to customer's cart.

Streamlined some code and implemented more object oriented methods