refactor(monitoring): shared viewmodel for widget

extract viewmodel properties, used in the main view and widgets
add a widget viewmodel

time: 1h:10