add View class and subclass DefaultView - template classes