Add Cart class

Refactory class with Codeigniter 3.0dev for Yii 2