Created new controller for cart, all cart database functions are in cart model, implemented cart functions in all views.