added initial implementation of connection view model.