complete settlement and create cartscontroller