indexView: only store the column count on the model
definition: rename buildViewModel to buildStatsViewModel
definition: move model creation code inside definition
definitionModelBuilder: extract definition model building
definition: allow panel width specification. must be between 1 and 12