add \Xap\Model class + model logic