class structure of code in