Now creating connection view model from the data.