refactored service layer to use built in lavaca paradigm for service calls.
Fixed broken replace state in History. Added support for refreshing on listings page.
Fixed insertState in History abstraction