Added a basic initialization method to register the cart on construction