Update main.py

Dispatcher class needs a list with workers