Moved dispatcher instantiation to index.php.