fixed log level bug in sanity check method
added Router class