initial commit for ModelAdapter