Add main view class