developing Editor Model and Editor Controller