Create dispatcher.py

Create dispatcher class