Creating ViewModel at runtime