Clearup middlewares/routing