start of view class