Create base classes for view and viewmodel