Implemented binding attributes.

Attributes are now bound as per description in the state.

Signed-off-by: Janusz Sobczak <janusz.sobczak@mobica.com>