moved Dispatcher to the view module.