got a basic implementation of middleware for SEO.

you just put some configuration info in the middleware.py file.
then the GenericHandler check all the middlewares you have setup.
if the route mataches any of the middleware setup config info then
run the middleware for that route usinging that middleware info.