Create class.index