adding attributes.
Merge pull request #1 from luizlugo/devices_full_functionality

adding attributes.