Implemented generic View class