Global methods update

+ now .createUnit works well and attaches attributes
+ DOM-element have methods to return object
+ some local changes