Moved the RouteStack di class definition into the module config.