History service, web refactor