Move route tools to a provider & redirections to middlewares