[new] basic model and apis implementation