Set up class structure