Create class based index view