- some minor changes
- added files from TrikDE (https://github.com/romankurbatov/trikde)