add ViewModel, and lib reference