Added View and ViewModel base classes
Modified MainPage and it's VM to use new base classes