implementing initial version of DingCart class for migration of users carts