creating the CSCartApi class