create classes with attributes