* refactoring of edgetypes
* attributes working