Created new view for ajax cart.
Added method listProducts.
Work on ajax cart finished.
Reworked AJAX functionality.
Refactored Controller.
Added cartCount method and cart_count view to handle cart in AJAX.
Reworked the ajax for the cart items count in views.
Made baseUrl accessible globally in controller.