Main controller class for connecting model and view, mainly manages the shopping cart