Updated dispatcher and router.
Deleted dispather and router middleware as they have been moved into their own submodule