MainModel creation and view related change