Reorganize episode generation, update hasher