added View class.