creating Attribute class