added dispatcher class
added dispatcher class