refactored objects
changed tests
- added simple sniffer for debugging. python 2.7 :-(
- small refaktoring
- bugfixes