setup config to handle the history
started implementing history