Implemented ViewModel Class