finish the model and dataservice(without debug)