read method for attributes class variable
creates the attributes class variable and creates each attribute‘s accessor methods
[Validate]