Moved ViewModel to the correct place.