Use for loops to generate the classes