add router ExtraConfig
remove unused router package defs
ResetRouter func