Add basic classes of view model and view