Create class structure.