first pass at adding all the persistent subscription stuff to backend