Creation of View class