Added the localstorage and the cart controller.