[Router] - Debugging the Router class

- For the dev version creation of the debug class and call it in the
index
- 2 cases in the constructor method in the router class