add HistoryRouter class