Work on the Main view class