added validation to mapstate model and continued to build the control panel view/template