Hooking up the stats engine and hs metric store.