Updated middleware handling in new router.
Added some fake middleware to example_site for testing. (it's broken)