refactored model; separate models for config/matrix edit; merging of
models; added features like color/commenting/control mode/merge/set
value to config view; and more