Create class code