view class set up