Refactor add IObjectAttribute

interface for create attributes (functionality) for each object through
class