Add a class data structure