refactored decoder.py
renamed decoder.py to dispatcher.py