switching to todium firebase and supporting replacing torrents with todium torrents