Change to how the route plugin works on a FrontEnd system
Fix memory leaks with the unload of the route plugin