started the history api implementation.