Improves admin sidebar menu and the Router class