add plan model and view