[router] RouterClass TODO: remove history feature, manually merge options with defaults