better initialization of spin reader and bag tf listener