refactor of viewmodel code; subscriptions unnecessary; working on updating viewmodel with runtime stats