Create class structure