ToDo: - [x] update to python 3 (change iteritems to iter(i.items()), ...) - [ ] fix imports - [ ] ...