Added Constructor to Attribute class